<template>
  <div class="component-title-wrapper">
    <slot>{{ title }}</slot>
  </div>
</template>

<script lang="ts" setup>
  import { withDefaults, defineProps } from 'vue';

  interface Props {
    title: string;
  }
  withDefaults(defineProps<Props>(), {});
</script>

<style lang="less" scoped>
  .component-title-wrapper {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
  }
</style>
